package com.ruoyi.system.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】业务对象 stock_list
 *
 * @author ruoyi
 * @date 2022-03-24
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class StockListBo extends BaseEntity {

    /**
     * 股票代码查询
     */
    @NotBlank(message = "股票代码查询不能为空", groups = { EditGroup.class })
    private String queryStockCode;

    /**
     * 股票简称
     */
    @NotBlank(message = "股票简称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String stockName;

    /**
     * 所属板块
     */
    @NotBlank(message = "所属板块不能为空", groups = { AddGroup.class, EditGroup.class })
    private String stockPlate;

    /**
     * 股票代码
     */
    @NotBlank(message = "股票代码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String stockCode;


}
